package com.daka.vo.response;

import lombok.Data;
import lombok.ToString;

import java.math.BigDecimal;

/**
 * Created by yangx
 * CreateTime: 2016/12/29 18:40
 */

@Data
@ToString
public class ListUserAuctionVo implements Comparable<ListUserAuctionVo>  {
    private Long userId;
    private String  userName;

    private String  teamName;

    private String  url;

    private BigDecimal amount;

    private Integer number=1;

    private Integer ranking=1;

    @Override
    public int compareTo(ListUserAuctionVo o) {
        return o.getAmount().compareTo(this.getAmount());
    }

}







